package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.LinkDto;
import com.pzhuweb.sgblog.domain.entity.Link;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;

import java.util.List;

public interface LinkService extends IService<Link> {
    ResponseResult<?> getAllLink();

    ResponseResult<?> getPage(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult<?> addLink(LinkDto linkDto);

    ResponseResult<?> getDetails(Long id);

    ResponseResult<?> updateLink(LinkDto linkDto);

    ResponseResult<?> deleteLink(List<Long> ids);
}
